﻿@model FantasyDraft2.Models.DropPlayerModel

@{
    ViewBag.Title = "DropPlayer";
}

<h2>Drafting this player exceeds the limit. Please choose a player to drop</h2>

@using (Html.BeginForm()){
    <table>
        <tr>
            <td>
                @Html.DropDownListFor(x => x.dropplayerid,new SelectList(Model.players,"PlayerId","Name"))
            </td>
            <td>
                <input type="submit" name="button" value="Go" />
            </td>
            <td>
                <input type="submit" name="button" value="Cancel" />
            </td>
        </tr>
        
    </table>
    @Html.HiddenFor(x=>Model.playerid)
    @Html.HiddenFor(x=>Model.teamid)
}